package org.dromara.authcode.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 商品对象 t_goods
 *
 * @author Miles Meng
 * @date 2025-08-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_goods")
public class TGoods extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId(value = "goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 价格
     */
    private Long price;

    /**
     * 价格币种
     */
    private String currency;

    /**
     * 点数
     */
    private Long points;

    /**
     * 商品描述
     */
    private String goodsDesc;

    /**
     * Y 是；N 否
     */
    private String enable;

    /**
     * 有效月数
     */
    private Long validMonths;


}
